package com.jz.service.impl;

import com.jz.Product;
import com.jz.mapper.ProductMapper;
import com.jz.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ClassName : ProductServiceImpl  //类名
 * @Description :   //描述
 * @Author : 岚氓  //作者
 * @Date: 2020-11-02 18:47  //时间
 * @Version 1.0
 */
@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    private ProductMapper productMapper;

    @Override
    public Product findById(Integer pid) {
        return productMapper.findById(pid);
    }
}
